This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
RE: export database to XML files ~Naomi Deskroterakol 25.Nov.03 02:04 PM a Web browser Applications Development All ReleasesAll Platforms
The other thing to bear in mind is that it is only for data, you cannot
convert design to XML with this product (that unfortunately is a problem for
me).
You even emailed me about this, and I don't understand what you're missing here.
Dim sess As New NotesSession
Dim db As NotesDatabase
Dim designColl As NotesNoteCollection
Dim export As NotesDXLExporter
Dim writeStream As NotesStream
Const OUT_FILE = "c:\sampleDXL.xml"
Set writeStream=sess.CreateStream
If Not writeStream.Open(OUT_FILE) Then
Messagebox "Cannot Open Destintion",, OUT_FILE
Exit Sub
End If
Set db = sess.currentdatabase
Set designColl = db.createNoteCollection(False)
Call designColl.SelectAllDesignElements(True)
Set export = sess.CreateDXLExporter(designColl, writeStream)
export.Process